package com.edu.mapper;

import com.edu.bean.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    User selectUserByName(String userName);

    int insertUser(User user);

    int insertBookHobby(@Param("userId") int userId,@Param("hobbyId") int hobbyId);
}
